﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VietThinks.Model;

namespace VietThinks.Mapping.Maps
{
    public class ProductImageMap : DomainEntityMap<ProductImage>
    {
        public ProductImageMap()
        {
            Schema("Product");
            Table("ProductImage");
            References(m => m.Product, "ProductId");
            References(m => m.Image, "ImageId");                        
        }
    }
}
